cURL
curl --request POST \ --url https://api.bfl.ai/v1/flux-pro-1.0-canny \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "prompt": "ein fantastisches bild", "control_image": "<string>", "preprocessed_image": "<string>", "canny_low_threshold": 250, "canny_high_threshold": 250, "prompt_upsampling": true, "seed": 42, "steps": 32, "output_format": "jpeg", "guidance": 50.5, "safety_tolerance": 2, "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image generation task with FLUX.1 Canny [pro].
Successful Response
The response is of type object.
object
Was this page helpful?